package com.kehutong.contact.enums;

import org.coraframework.util.HashID;

/**
 * 住户类型
 * @author liuzhen
 *
 */
public enum RelationType implements HashID {

    MAN_WIFE("1", "夫妻"),
    CHILD("2", "子女"),
    PARENT ("3", "父母"),
    CLAN ("4", "亲属")
    ;


    private final String id;
    private final String desc ;

    private RelationType(String id, String desc) {
        this.id = id;
        this.desc = desc ;
    }

    @Override
    public String getId() {
        return id;
    }

    @Override
    public String getDesc() {
        return desc;
    }
}
